import axios from 'axios'
const jiekou = axios.create({
  baseURL: 'http://localhost:8000'
})

const loginjie = function ({ mobile, code }) {
  return jiekou({
    url: '/v1_0/authorizations',
    method: 'post',
    data: {
      mobile,
      code
    }
  })
}
export { loginjie }
